home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 127 / PC Guia 127.iso / Software / Produtividade / OpenOffice.org 2.0.1 / openofficeorg2.cab / layoutF.xsl < prev    next >
Extensible Markup Language  |  2005-09-10  |  4KB  |  131 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--*************************************************************************
  3.  *
  4.  *  OpenOffice.org - a multi-platform office productivity suite
  5.  *
  6.  *  $RCSfile: makefile,v $
  7.  *
  8.  *  $Revision: 1.1 $
  9.  *
  10.  *  last change: $Author: st $ $Date: 2000/11/22 02:32:00 $
  11.  *
  12.  *  The Contents of this file are made available subject to
  13.  *  the terms of GNU Lesser General Public License Version 2.1.
  14.  *
  15.  *
  16.  *    GNU Lesser General Public License Version 2.1
  17.  *    =============================================
  18.  *    Copyright 2005 by Sun Microsystems, Inc.
  19.  *    901 San Antonio Road, Palo Alto, CA 94303, USA
  20.  *
  21.  *    This library is free software; you can redistribute it and/or
  22.  *    modify it under the terms of the GNU Lesser General Public
  23.  *    License version 2.1, as published by the Free Software Foundation.
  24.  *
  25.  *    This library is distributed in the hope that it will be useful,
  26.  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
  27.  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  28.  *    Lesser General Public License for more details.
  29.  *
  30.  *    You should have received a copy of the GNU Lesser General Public
  31.  *    License along with this library; if not, write to the Free Software
  32.  *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  33.  *    MA  02111-1307  USA
  34.  *
  35.  ************************************************************************-->
  36. <!-- =================================================
  37.  
  38. This template is a skeleton for single level TOC pages 
  39. with Frames : it generates the main index.html which contains
  40. the frameset.
  41.  
  42. Do not overwrite this ! copy it and complete the missing
  43. code.
  44.  
  45. I use the @ character whereever there is a missing code, so 
  46. you can use a simple find to navigate and find the
  47. places...
  48.  
  49. ====================================================== -->
  50.  
  51. <xsl:stylesheet version="1.0" 
  52.    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  53.     xmlns="http://www.w3.org/1999/xhtml">
  54.  
  55.     <xsl:output method               = "html"
  56.                 media-type           = "text/html"
  57.                 indent               = "yes"
  58.                 doctype-public       = "-//W3C//DTD HTML 4.0 Transitional//EN"
  59.                 omit-xml-declaration = "yes"
  60.                 standalone           = "yes" />
  61.     
  62.     <xsl:include href="../layout.xsl"/>
  63.     
  64.  
  65.      <!-- =============================
  66.                    ROOT
  67.      ================================== -->
  68.  
  69.  
  70.     <xsl:template  match="/">
  71.           <html>
  72.                    <xsl:call-template name="head"/>
  73.                   <xsl:call-template name="frameset"/>
  74.            </html>
  75.      </xsl:template>
  76.      
  77.      
  78.      <!-- =============================
  79.                    HTML FRAMES
  80.      ================================== -->
  81.      
  82.     
  83.     <xsl:template name="frameset">
  84.  
  85.         <!--
  86.             @ Add frameset here...
  87.             
  88.               the following noframes tag is
  89.               naturally optional.
  90.             -->
  91.         
  92.         <noframes/>
  93.         
  94.         <!-- the body tag has no influance here,
  95.             we add it for good style.
  96.             -->
  97.             
  98.         <body>
  99.         </body>
  100.     </xsl:template>
  101.     
  102.  
  103.      <!-- =============================
  104.                    HTML HEAD
  105.                    
  106.     this section should not be changed
  107.      ================================== -->
  108.      
  109.      <xsl:template name="head">
  110.          <head>
  111.                 <title>
  112.                      <xsl:value-of select="/session/general-info/@title"/>
  113.                 </title>
  114.                 <!-- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -->
  115.                 <meta HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8"/>
  116.                 <meta name="description" content="{/session/general-info/@description}"/>
  117.                 <meta name="keywords" content="{/session/general-info/@keywords}"/>
  118.                 <meta name="author" content="{/session/general-info/@author}"/>
  119.                 <meta name="email" content="{/session/general-info/@email}"/>
  120.                 <meta name="copyright" content="{/session/general-info/@copyright}"/>
  121.                 <!-- create date?
  122.                      update date?
  123.                      fav icon?
  124.                      -->
  125.              <link href="style.css" rel="stylesheet" type="text/css"/>
  126.  
  127.         </head>
  128.      </xsl:template>
  129.     
  130. </xsl:stylesheet>
  131.